package com.business.api.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "order",value = "provider")
@Component
public interface TestFeign {

    @GetMapping("/getTest/{id}")
    Object getTest(@PathVariable("id") Long id);
}
